Optimized Analysis Wizard

Hello,

I'm trying to rewrite the Analysis Wizard to be optimized for memory usage and to avoid the string table. Is there anything else that I can implement to improve my code? Thank you.

 

-Jim


EHcnck - Sat Mar 14 15:19:07 EDT 2015

Re: Optimized Analysis Wizard
llandale - Fri Mar 20 15:17:49 EDT 2015

I may reply in chunks.  first off, contacenating lines and lines of code can easily be done by recognizing that an EOL in YOUR code will also appear in the TARGET code.  Thus the first few lines f the "header" variable can typed as follows (usually removing l1st three characters and last 5 characters of the line:

const string header =
"// $Id: Optimized Analysis Wizard.dxl 545 2015-03-15 17:03:06Z james.ellis $, DOORS version 9.6.1.0
// Brief:
//  The below code was optimized to eliminate use of string and/or string table.
//     Add the ability to show external links with paragraph indentation.

pragma runLim, 0

Surely that is easier to read and maintain.

-Louie